home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / vim_doc.zip / MSDOS.DOC < prev    next >
Text File  |  1993-01-12  |  2KB  |  49 lines

  1. This file contains the particularities for the MSDOS version of Vim.
  2.  
  3. If the "tx" (textmode) option is set (which is the default), Vim will accept a 
  4. single <LF> or a <CR><LF> pair for end-of-line. When writing a file Vim will 
  5. use <CR><LF>. Thus if you edit a file and write it, <LF> is replaced with 
  6. <CR><LF>. Single <CR> characters are lost. If the "tx" option is not set the 
  7. single <LF> will be used for end-of-line. A <CR> will be shown as ^M.
  8. You can use Vim to replace <LF> by <CR><LF> by reading in any mode and 
  9. writing in text mode. You can use Vim to replace <CR><LF> by <LF> by reading 
  10. in text mode and writing in non-text mode.
  11.  
  12. Script files contain single <CR> characters. If you want to edit a script file 
  13. you should reset the textmode option before loading the file.
  14.  
  15. The default help filename is "$VIM\vim.hlp". If the environment variable $VIM 
  16. is not defined or the file is not found, the DOS search path is used to search 
  17. for the file "vim.hlp".
  18.  
  19. The files "_vimrc" and "_exrc" are used instead of ".vimrc" and ".exrc".
  20. The files "$VIM\_vimrc" and "$VIM\_exrc" are used instead of "s:.vimrc" and 
  21. "s:.exrc".
  22.  
  23. Use CTRL-break instead of CTRL-C to interrupt searches. The CTRL-C is not
  24. detected until a key is read.
  25.  
  26. Use CTRL-arrow-left and CTRL-arrow-right instead of SHIFT-arrow-left and 
  27. SHIFT-arrow-right. The arrow-up and arrow-down cannot be used with SHIFT or 
  28. CTRL.
  29.  
  30. Temporary files (for filtering) are put in the current directory.
  31.  
  32. The default for the sh (shell) option is "command". External commands are 
  33. started with "command /c <command_name>". Typing CTRL-Z starts a new command 
  34. shell. Return to Vim with "exit".
  35.  
  36. MS-DOS allows for only one filename extention. Therefore, in the original 
  37. filename the '.' is replaced by a '_', the name is truncated to 8 characters 
  38. and the new extention ".vim" or ".bak" is appended. Two examples: "test.c" 
  39. becomes "test_c.bak", "ditiseen.tst" becomes "ditiseen.bak".
  40.  
  41. The MS-DOS binary was compiled with Turbo-C version 2.0 (yes, it's old). You 
  42. may get some "argument never used" warning messages. They can be ignored. If 
  43. you get all kinds of strange error messages when compiling, you have to add 
  44. <CR> characters at the end of each line. This can be done with the addcr 
  45. program: "make addcr". This will compile addcr.c to addcr.exe and execute 
  46. the addcr.bat file.
  47.  
  48. The *.info files are for the Amiga. You don't need them with MSDOS.
  49.